projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdf0dd
)
ioemu: fix VNC case when switching from 32bpp to 24bpp
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 25 Mar 2008 10:24:26 +0000
(10:24 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 25 Mar 2008 10:24:26 +0000
(10:24 +0000)
Even if we don't need to tell the client to redepth, we need to tell
e.g. xenfb that we can't share the buffer any more.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/vnc.c
patch
|
blob
|
history
diff --git
a/tools/ioemu/vnc.c
b/tools/ioemu/vnc.c
index 9c9cbb3fc0730ef38a6d604e7996f182c4eddb23..6cfba55be9ff6bb4f705b1837740bae9902c4d01 100644
(file)
--- a/
tools/ioemu/vnc.c
+++ b/
tools/ioemu/vnc.c
@@
-1636,8
+1636,8
@@
static void vnc_dpy_colourdepth(DisplayState *ds, int depth)
switch (depth) {
case 24:
- if (ds->depth == 32) return;
ds->shared_buf = 0;
+ if (ds->depth == 32) return;
depth = 32;
break;
case 0: